﻿namespace QMERP.Domain.Dtos
{
    public class PurchaseOrderDetailResponse
    {
        public long Id { get; set; }
        /// <summary>
        /// 采购片数
        /// </summary>
        public int Qty { get; set; }
        /// <summary>
        /// 入库片数
        /// </summary>
        public int EnterStockQty { get; set; }

        /// <summary>
        /// 采购单Id
        /// </summary>
        public long PurchaseOrderId { get; set; }
        /// <summary>
        /// 供应商Id
        /// </summary>
        public long SupplierId { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public long WarehouseId { get; set; }
        /// <summary>
        /// 镜种Id
        /// </summary>
        public long LensId { get; set; }

        public List<LensDetailResponse> LensDetails { get; set; } = new();

        public SupplierResponse Supplier { get; set; } = new();
        public WarehouseResponse Warehouse { get; set; } = new();
        public LensResponse Lens { get; set; } = new();
    }
}
